export default {
  sideBarLayout: 'LEFT',
  showDataInfoBar: true,
  loadDefault: true,
  deviewCodeName: 'CalendarExpViewQuickSearch',
  deviewId: '53C64ECE-A3C7-4FAE-8998-FF0E9C9EBED6',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '日历导航栏_快速搜索提示分割符',
  codeName: 'master_calendar_exp_view_quick_search',
  appDataEntityId: 'web.master',
  appViewMsgGroupId: 'calendarexpbar_quicksearch',
  viewLayoutPanel: {
    layoutBodyOnly: true,
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        rawItem: {
          predefinedType: 'VIEWMSG_POS',
          id: 'viewmsg_pos',
        },
        caption: '视图消息占位',
        itemStyle: 'DEFAULT',
        itemType: 'RAWITEM',
        layoutPos: {
          shrink: 1,
          layout: 'FLEX',
        },
        showCaption: true,
        id: 'viewmsg_pos',
      },
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                caption: '日历导航栏',
                itemStyle: 'DEFAULT',
                itemType: 'CTRLPOS',
                layoutPos: {
                  grow: 1,
                  shrink: 1,
                  layout: 'FLEX',
                },
                showCaption: true,
                id: 'calendarexpbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            contentWidth: 600,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
              width: 600,
              widthMode: 'PX',
            },
            width: 600,
            id: 'view_content_left',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                rawItem: {
                  predefinedType: 'NAV_POS',
                  id: 'nav_pos',
                },
                caption: '导航区占位',
                itemStyle: 'DEFAULT',
                itemType: 'RAWITEM',
                layoutPos: {
                  grow: 1,
                  shrink: 1,
                  layout: 'FLEX',
                },
                showCaption: true,
                id: 'nav_pos',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            id: 'view_content_right',
          },
        ],
        predefinedType: 'CONTAINER_H_SPLIT',
        layout: {
          layout: 'FLEX',
        },
        dataRegionType: 'INHERIT',
        caption: '容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          grow: 1,
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'view_exp_split',
      },
    ],
    layoutPanel: true,
    appViewEngines: [
      {
        engineCat: 'VIEW',
        engineType: 'CalendarExpView',
        id: 'engine',
      },
    ],
    appViewLogics: [
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          actionAfterWizard: 'DEFAULT',
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_NEWDATA',
          id: '新建数据',
        },
        builtinLogic: true,
        id: 'newdata',
      },
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          editMode: true,
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_OPENDATA',
          id: '打开数据',
        },
        builtinLogic: true,
        id: 'opendata',
      },
    ],
    controls: [
      {
        title: '提示分割符',
        xdataControlName: 'calendarexpbar_calendar',
        enableCounter: true,
        enableSearch: true,
        showTitleBar: true,
        autoLoad: true,
        showBusyIndicator: true,
        appViewRefs: [
          {
            realTitle: '导航栏导航编辑视图',
            refAppViewId: 'web.master_usr4409_edit_view',
            name: 'EXPITEM:master',
            id: 'expitem:master',
          },
        ],
        controls: [
          {
            calendarStyle: 'MONTH',
            groupMode: 'NONE',
            legendPos: 'NONE',
            sysCalendarItems: [
              {
                beginTimeAppDEFieldId: 'start_time',
                endTimeAppDEFieldId: 'end_time',
                idAppDEFieldId: 'id',
                itemStyle: 'DEFAULT',
                itemType: 'master',
                appDEDataSetId: 'fetch_default',
                textAppDEFieldId: 'name',
                appDataEntityId: 'web.master',
                navAppViewId: 'web.master_usr4409_edit_view',
                navigateParams: [
                  {
                    key: 'name',
                    value: 'name',
                    id: 'name',
                  },
                  {
                    key: 'num',
                    value: '1',
                    rawValue: true,
                    id: 'num',
                  },
                ],
                name: '主数据',
                id: 'master',
              },
            ],
            navViewPos: 'NONE',
            autoLoad: true,
            showBusyIndicator: true,
            codeName: 'calendar_exp_view_quick_search_calendar',
            controlType: 'CALENDAR',
            logicName: '日历导航栏_快速搜索提示分割符_日历部件',
            appDataEntityId: 'web.master',
            controlLogics: [
              {
                eventNames: 'SELECTIONCHANGE',
                logicTag: 'calendarexpbar_calendar',
                logicType: 'CUSTOM',
                triggerType: 'CTRLEVENT',
                id: 'calendarexpbar_selectionchange',
              },
              {
                eventNames: 'LOAD',
                logicTag: 'calendarexpbar_calendar',
                logicType: 'CUSTOM',
                triggerType: 'CTRLEVENT',
                id: 'calendarexpbar_load',
              },
            ],
            controlParam: {
              ctrlParams: {
                SEARCHPHSEPARATOR: '，',
                DEFAULTDATETIME: '2025-05-05',
              },
              id: 'calendarexpbar_calendar',
            },
            modelId: 'E0786FEA-C8EB-4C01-B40A-4A184B751E20',
            modelType: 'PSSYSCALENDAR',
            name: 'calendarexpbar_calendar',
            id: 'web.master.calendar_exp_view_quick_search_calendar',
          },
        ],
        codeName: 'calendar_exp_view_quick_search_calendarexpbar',
        controlType: 'CALENDAREXPBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          ctrlParams: {
            SEARCHPHSEPARATOR: '，',
            DEFAULTDATETIME: '2025-05-05',
          },
          id: 'calendarexpbar',
        },
        modelId: 'abb934c485fbe184c662ca432c834686_calendarexpbar',
        modelType: 'PSEXPBAR',
        name: 'calendarexpbar',
        id: 'calendar_exp_view_quick_search_calendarexpbar',
      },
      {
        groupMode: 'SINGLE',
        quickSearchMode: 1,
        enableQuickSearch: true,
        controlType: 'SEARCHBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'searchbar',
        },
        id: 'searchbar',
      },
      {
        capLanguageRes: {
          lanResTag: 'DE.LNAME.MASTER',
        },
        caption: '日历导航栏_快速搜索提示分割符',
        codeName: 'calendar_exp_view_quick_search_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.master',
        controlParam: {},
        name: 'captionbar',
        id: 'calendar_exp_view_quick_search_captionbar',
      },
    ],
    codeName: 'ac430e057faed400a2d',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: 'CalendarExpViewQuickSearch日历导航视图布局面板',
    appDataEntityId: 'web.master',
    controlParam: {},
    modelId: '81ab7bb82a28eefb8818b953d1c78822',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'ac430e057faed400a2d',
  },
  title: '日历导航栏_快速搜索提示分割符',
  viewStyle: 'DEFAULT',
  viewType: 'DECALENDAREXPVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: 'abb934c485fbe184c662ca432c834686',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERCalendarExpViewQuickSearch',
  id: 'web.master_calendar_exp_view_quick_search',
};
